<?php

/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */

use yii\helpers\Html;

$this->title = $name;


?>

<br>
<section class="container" style='position:absolute;top:0;bottom:0;left:20px;right:20px;'>
<div class="card" style='position:absolute;top:20px;bottom:60px;left:20px;right:20px;'>
  <h3 class="login-head"><i class="fa fa-lg fa-fw fa-bullhorn"></i><?= Html::encode($this->title) ?></h3>
  <hr>
  <div class='card-body alert alert-danger'>
    <?php
      echo nl2br(Html::encode($message));
    ?>
  </div>
</div>
<!-- footer content -->
<footer class="footer">
 <div class="container" style="text-align:center;color:white;position:absolute;bottom:20px;font-size:11px;">
   <br>
   Copyright © 2017 <?=$this->context->sysConfig->site_name?> 版权所有
   &nbsp;&nbsp;<span>|</span>
   &nbsp;&nbsp;<?=$this->context->sysConfig->site_reg_id?>
   &nbsp;&nbsp;<span>|</span>
   &nbsp;&nbsp;<a href="<?=$this->context->sysConfig->site_addr?>" target="_blank">关于<?=$this->context->sysConfig->site_name?></a>
 </div>
</footer>
<!-- /footer content -->
</section>
